package com.mbc.rmt.entities;

import java.io.Serializable;

@SuppressWarnings("serial")
public class CashRemittanceByAgentDetails implements Serializable {

	private Long receiptDetailId;
	private Long receiptId;
	private Long addcodeId;
	private String code;
	private String sender;
	private String receiver;
	private String nrc;
	private String address;
	private Double paymentAmt;
	private Double rate;
	private Double receivedAmt;
	private Double extraFees;
	private Long toAgentId;
	private String toAgentCode;
	private String toAgentName;
	private Long toBranchId;
	private String toBranchCode;
	private String toBranchName;
	private Byte status;
	private String rateOperator; 
	private Long rateId;
	private String rateCode;
	private String rateStatus;

	//Header
	private String receiptNo;
	private Long pcurrencyId;
	private String p_currencyCode;
	private Long rcurrencyId;
	private String r_currencyCode;
	private Long bankId;
	private String bankCode;

	public CashRemittanceByAgentDetails() {
		clearProperties();
	}

	private void clearProperties() {
		receiptDetailId = 0L;
		receiptId = 0L;
		addcodeId = null;
		code = "";
		sender = "";
		receiver = "";
		nrc = "";
		address = "";
		paymentAmt = 0.0;
		rate = 0.0;
		receivedAmt = 0.0;
		extraFees = 0.0;
		toAgentId = null;
		toAgentCode = "";
		toAgentName = "";
		toBranchId = null;
		toBranchCode = "";
		toBranchName = "";
		status = null;
		rateOperator = "";
		rateId = null;
		rateCode = "";
		rateStatus="";
		
		setReceiptNo("");
		setPcurrencyId(null);
		setP_currencyCode("");
		setRcurrencyId(null);
		r_currencyCode = "";
		setBankId(null);
		bankCode= "";
	}

	public String getRateCode() {
		return rateCode;
	}

	public void setRateCode(String rateCode) {
		this.rateCode = rateCode;
	}

	public String getR_currencyCode() {
		return r_currencyCode;
	}

	public void setR_currencyCode(String r_currencyCode) {
		this.r_currencyCode = r_currencyCode;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public Long getReceiptDetailId() {
		return receiptDetailId;
	}

	public void setReceiptDetailId(Long receiptDetailId) {
		this.receiptDetailId = receiptDetailId;
	}

	public Long getReceiptId() {
		return receiptId;
	}

	public void setReceiptId(Long receiptId) {
		this.receiptId = receiptId;
	}

	public Long getAddcodeId() {
		return addcodeId;
	}

	public void setAddcodeId(Long addcodeId) {
		this.addcodeId = addcodeId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getNrc() {
		return nrc;
	}

	public void setNrc(String nrc) {
		this.nrc = nrc;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Double getPaymentAmt() {
		return paymentAmt;
	}

	public void setPaymentAmt(Double paymentAmt) {
		this.paymentAmt = paymentAmt;
	}

	public Double getRate() {
		return rate;
	}

	public void setRate(Double rate) {
		this.rate = rate;
	}

	public Double getReceivedAmt() {
		return receivedAmt;
	}

	public void setReceivedAmt(Double receivedAmt) {
		this.receivedAmt = receivedAmt;
	}

	public Double getExtraFees() {
		return extraFees;
	}

	public void setExtraFees(Double extraFees) {
		this.extraFees = extraFees;
	}

	public Long getToAgentId() {
		return toAgentId;
	}

	public void setToAgentId(Long toAgentId) {
		this.toAgentId = toAgentId;
	}

	public String getToAgentCode() {
		return toAgentCode;
	}

	public void setToAgentCode(String toAgentCode) {
		this.toAgentCode = toAgentCode;
	}

	public String getToAgentName() {
		return toAgentName;
	}

	public void setToAgentName(String toAgentName) {
		this.toAgentName = toAgentName;
	}

	public Long getToBranchId() {
		return toBranchId;
	}

	public void setToBranchId(Long toBranchId) {
		this.toBranchId = toBranchId;
	}

	public String getToBranchCode() {
		return toBranchCode;
	}

	public void setToBranchCode(String toBranchCode) {
		this.toBranchCode = toBranchCode;
	}

	public String getToBranchName() {
		return toBranchName;
	}

	public void setToBranchName(String toBranchName) {
		this.toBranchName = toBranchName;
	}

	public byte getStatus() {
		return status;
	}

	public void setStatus(byte status) {
		this.status = status;
	}

	public String getReceiptNo() {
		return receiptNo;
	}

	public void setReceiptNo(String receiptNo) {
		this.receiptNo = receiptNo;
	}

	public Long getPcurrencyId() {
		return pcurrencyId;
	}

	public void setPcurrencyId(Long pcurrencyId) {
		this.pcurrencyId = pcurrencyId;
	}

	public String getP_currencyCode() {
		return p_currencyCode;
	}

	public void setP_currencyCode(String p_currencyCode) {
		this.p_currencyCode = p_currencyCode;
	}

	public Long getRcurrencyId() {
		return rcurrencyId;
	}

	public void setRcurrencyId(Long rcurrencyId) {
		this.rcurrencyId = rcurrencyId;
	}

	
	public Long getBankId() {
		return bankId;
	}

	public void setBankId(Long bankId) {
		this.bankId = bankId;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public String getRateOperator() {
		return rateOperator;
	}

	public void setRateOperator(String rateOperator) {
		this.rateOperator = rateOperator;
	}

	public Long getRateId() {
		return rateId;
	}

	public void setRateId(Long rateId) {
		this.rateId = rateId;
	}

	public String getRateStatus() {
		return rateStatus;
	}

	public void setRateStatus(String rateStatus) {
		this.rateStatus = rateStatus;
	}
	
}
